#ifndef USERSERVICE_H
#define USERSERVICE_H

// 头文件：userService.h
#include <QString>
#include <QMap>
#include "abstractdao.h"
#include "user.h"

class userService
{
private:
    abstractDAO *userRepository;
public:
    userService();
    QString addUser(QMap<QString, QString>);
    QString searchUser(QMap<QString, QString>);
    QString deleteUser(QMap<QString, QString>);
    QString updateUser(QMap<QString, QString>);
};

#endif // USERSERVICE_H
